<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Admin_logout extends CI_Controller
{

   function __construct()
    {
        parent::__construct();
	}

	function index()
	{
		$this->session->sess_destroy();		
		redirect(base_url().'admin_login');
	}
	
	function confirm()
	{
		$this->load->view('logout/v_logout');	
	}
}